import type { TableColumnsType } from 'antd';

interface DataType {
  id: number | string;
  username: string | null;
  nickname: string | null;
  phoneNumber: string | null;
}
export const columns: TableColumnsType<DataType> = [
  {
    title: '名称',
    dataIndex: 'name',
    ellipsis: true,
    align: 'center',
  },
  {
    title: '容量',
    dataIndex: 'capacity',
    ellipsis: true,
    align: 'center',
  },
  {
    title: '位置',
    dataIndex: 'location',
    ellipsis: true,
  },
  {
    title: '设备',
    dataIndex: 'equipment',
    ellipsis: true,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    ellipsis: true,
  },
];
